@import '~antd/es/style/themes/default.less';

.addApartment {
  font-size: 14px;
  color: @primary-color;
  margin-left: 24px;
  border-radius: 10px;
  width: 36px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;

  &:hover {
    background-color: @primary-2;
  }
}



.roleTableList {
  display: flex;
  align-items: flex-start;
  padding: 0;

  .roleTable {
    width: 50%;
    margin: 8px;
  }

  .roleTableTitle {
    font-size: 16px;
    margin-bottom: 6px;
  }
}

.roleManage {
  display: flex;
  align-items: flex-start;
 
}

.roleTabs {
  width: 30%;
  // border: 1px solid @border-color-split;

  :global {
    .ant-tabs-nav {
      width: 100%;
    }

    .ant-tabs-nav-wrap {
      padding-left: 16px;
      border: 1px solid @border-color-split;
    }
  }
}

.rolePermission {
  margin-left: 16px;
  width: 66%;
  border: 1px solid @border-color-split;
  padding: 8px;
  min-height: 100%;
}

.roleEmptyPermission {
  margin-left: 16px;
  width: 62%;
  padding: 8px;
  margin-top: 160px;
}

.roleTitleClass {
  font-size: large;
  font-weight: bold;
  padding-left: 24px;
}

.treeNodeClass {
  // border-top: 2px solid @border-color-split;
  margin-top: 8px;
  min-width: 200px;
  min-height: 64px;
  // :hover {
  //   background-color: @item-hover-bg;
  // }
}

.actionClass {
  display: flex;
  button {
    margin: 0;
  }
  :global {
    .ant-btn-round {
      padding: 0 4px;
    }
  }
}

.selectRow {
  background-color: @background-color-light;
}

.addRoleButton {
  display: flex;
  justify-content: space-around;
}

.addDepartmentButton{
  font-weight: bold;
}

.userTableAction {
  width: 100%;
  min-height: 56px;
  border: 1px solid @border-color-split;
  margin-bottom: 16px;
  padding: 4px;
  
  :global {
    .ant-form-item-control-input {
      min-width: 100px;
    }
    .ant-form-item{
      margin: 4px;
    }
  }
}

.userActionClass {
  display: flex;
  justify-content: flex-end;

  button {
    margin: 0 0 0 8px;
  }
}
